﻿CREATE TABLE [departmentbeingedited]
(
	eid int not null,
	deid int not null,
	perid int not null,
starttime datetime not null,
endtime datetime not null,
primary key (eid),
foreign key (deid) references Department(deid),
foreign key (perid) references Person(perid)
)
